{% if page.menubar and page.show_sidebar %}
    {% assign content_width = 'is-4' %}
{% elsif page.menubar or page.show_sidebar %}
    {% assign content_width = 'is-8' %}
{% else %}
    {% assign content_width = 'is-12' %}
{% endif %}
<!DOCTYPE html>
<html>
  {% include head.html %}
  <body class="internal-page {{ page.permalink | remove:'/' }}{% if page.collection == 'success_stories' %} success-story{% endif %}{% if page.url == '/success-stories/' %} success-stories{% endif %}">
    {% include header.html %}
    <div class="site-wrapper">
      {% unless page.hide_hero %}
          {% include hero.html %}
      {% endunless %}
      {% include callouts.html %}
      <section class="section">
          <div class="container">
              <div class="page-content columns">
                  {% if page.menubar %}
                  <div class="column is-4-desktop is-4-tablet">
                      {% include menubar.html %}
                  </div>
                  {% endif %}
                  <div class="column {{ content_width }}">
                      {% include tabs.html %}
                      {% include showcase.html %}
                      {{ content }}
                  </div>
                  {% if site.posts and page.show_sidebar %}
                  <div class="column is-4-desktop is-12-tablet">
                      {% include latest-posts.html %}
                  </div>
                  {% endif %}
              </div>
          </div>
      </section>
    </div>
    {% unless page.hide_footer %}
        {% include footer.html %}
    {% endunless %}
    <script src="{{ site.baseurl }}assets/js/app.js" type="text/javascript"></script>
    {%- include footer-scripts.html -%}
  </body>
</html>
